import request from '@/utils/request'

// 查询延迟返校登记列表
export function delayReturnList(query) {
  return request({
    url: '/daily/delay/return/list',
    method: 'get',
    params: query
  })
}

// 查询延迟返校登记详细
export function getDelayReturn(id) {
  return request({
    url: '/daily/delay/return/' + id,
    method: 'get'
  })
}

// 新增延迟返校登记
export function addDelayReturn(data) {
  return request({
    url: '/daily/delay/return',
    method: 'post',
    data: data
  })
}

// 修改延迟返校登记
export function updateDelayReturn(data) {
  return request({
    url: '/daily/delay/return',
    method: 'put',
    data: data
  })
}

// 删除延迟返校登记
export function delDelayReturn(id) {
  return request({
    url: '/daily/delay/return/' + id,
    method: 'delete'
  })
}